package com.example.demo_test.Service;

import com.example.demo_test.Entity.GroupMessage;
import com.example.demo_test.Entity.Message;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface MessageService {
    void insertMessage(Message message);
    void updateStatus(String status,int eid);
    List<Message> getMessageList(String userId, String friendId);
    void readInfo(String userId, String friendId);
    void addGroupMessage(GroupMessage groupMessage);
}
